package com.yanqu.road.server.command;

import com.google.protobuf.GeneratedMessage;
import com.yanqu.road.pb.common.CommonProto;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * wmm
 * 2023/2/5
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface CmdApi {

    Class<? extends GeneratedMessage> reqMsg() default CommonProto.NullValueMsg.class;

    Class<? extends GeneratedMessage> respMsg() default CommonProto.ResultValueMsg.class;
}
